package s;
class Student{
    public String num;
    public String name;
    public int score;
    public static String Class ="1班";
    public Student(String num,String name,int score){
        this.num=num;
        this.name=name;
        this.score=score;
    }
}
public class 学生 {
    public static void main(String[] args) {
//        直接通过类访问
        System.out.println(Student.Class);
//        通过对象访问
        Student a=new Student("1013","Jan",99);
        System.out.println(a.Class);
    }
}
